import request from "@/utils/request";

// 查询资源库列表
export function API_resourceList(query) {
  // let query;
  return request({
    url: "/data.resource/resource.page.info.get",
    method: "get",
    params: query,
  });
}

// 删除资源库
export function API_resourceDel(resourceId) {
  return request({
    url: "/data.resource/resource.delete/" + resourceId,
    method: "delete",
  });
}
//清空
export function API_resourceClearAll() {
  return request({
    url: "/data.resource/resource.deleteAll",
    method: "delete",
  });
}
